package com.sec.android.app.myfiles.facade.cmd;

import android.content.Context;
import android.content.Intent;

import com.sec.android.app.myfiles.activity.SettingsActivity;

import org.puremvc.java.multicore.interfaces.INotification;
import org.puremvc.java.multicore.patterns.command.SimpleCommand;

public class GoSettingsCmd extends SimpleCommand {
    @Override
    public void execute(INotification notification) {
        Object[] params = (Object[]) notification.getBody();
        Context context = (Context) params[0];

        Intent intent = new Intent(context, SettingsActivity.class);
        context.startActivity(intent);
    }
}
